/***************************************
 2010-4-28
 ****************************************/
package com.happy.common.security;

import java.util.Date;

public class UserConnect {
	/** 默认无参构造函数 **/
	public UserConnect() {
	}

	private String userName;
	private String ip;
	private Date firstFailureTime;
	private Date lastLoginTime;
	private int failureTimes;// 用户登录失败次数
	private int status = 0;// 用户状态0表示正常,-1表示锁定

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Date getFirstFailureTime() {
		return firstFailureTime;
	}

	public void setFirstFailureTime(Date firstFailureTime) {
		this.firstFailureTime = firstFailureTime;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public int getFailureTimes() {
		return failureTimes;
	}

	public void setFailureTimes(int failureTimes) {
		this.failureTimes = failureTimes;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}
